import util from './libs/util/index.js';
import request from './libs/request';
import math from "./libs/math";
import date from "./libs/date";
import rsa from "./libs/rsa";
import file from "./libs/file";
import user from "./libs/user";
import storage from "./libs/storage";
import global from "./libs/global";
import requestSecurity from "./libs/requestSecurity";
import thirdPartyLogin from "./libs/thirdPartyLogin";
import KtTable from "./components/KtTable/KtTable.vue";
import event from "./libs/event";
import i18n from "./libs/i18n";
import websocket from "./libs/websocket";

import KtIcon from "./components/KtIcon/KtIcon.vue";
import KtTableCard from "./components/KtTableCard/KtTableCard.vue";

event.init();

setInterval(() => {
	event.queueHandle();
},200);


export default {
	util,
	request,
	math,
	date,
	rsa,
	file,
	user,
	storage,
	global,
	requestSecurity,
	thirdPartyLogin,
	event,
	i18n,
	websocket,
	install(app) {
		app.component("KtIcon", KtIcon);
		app.component("KtTable", KtTable);
		app.component("KtTableCard", KtTableCard);
		app.config.globalProperties.$kt = this;
	}
}